#!/usr/bin/env python

from pylab import *

fp = open('weights_dcds.txt', 'w')


# 780个采样点
# @0.05MHz
w_size = 780

for cnt in range(w_size):
    for os in range(16):
        if cnt >= 70 and cnt <= 370:
            w = 1./301
        elif cnt >= 430 and cnt <= 730:
            w = -1./301
        else:
            w = 0

        fp.write('%12.8f '%(w)) 

    fp.write('\n')
fp.close()



